package team.southcat.wsyygh.hospital.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import team.southcat.wsyygh.common.result.Result;
import team.southcat.wsyygh.model.pojo.hospital.Hospital;
import team.southcat.wsyygh.model.pojo.hospital.HospitalVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author QiuSiYi
 * @since 2023-04-20
 */
public interface HospitalService extends IService<Hospital> {

    /**
     * 根据ID获取医院详情
     *
     * @param id
     * @return
     */
    HospitalVo selectById(Long id);

    Page getHospitalPageList(int page, int limit, HospitalVo hospitalVo);

    Result addHospital(Hospital hospital);

    HospitalVo getByAdminId(String adminId);

    List<Hospital> getByHospitalName(String hosname);

    public HospitalVo switchVo(Hospital hospital);
}
